package com.dormitory.management.system.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Access对象", description="门禁表")
public class AccessResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门禁id")
    private Long id;

    @ApiModelProperty(value = "学号")
    private String stuId;

    @ApiModelProperty(value = "刷卡时间")
    private Date swipingTime;

    @ApiModelProperty(value = "刷卡地点")
    private String swipingLocation;

    @ApiModelProperty(value = "刷卡设备编号")
    private String device;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "宿舍号")
    private int room;
}
